package com.liruo.test.annoall;

import javax.inject.Named;

@Named("NamedBean")
public class NamedBean {
  private String name;

  public NamedBean() {
  }

  public NamedBean(String name) {
    this.name = name;
  }

  @Override
  public String toString() {
    return "NamedBean{" +
        "name='" + name + '\'' +
        '}';
  }
}
